package
{
	import com.fellong.flash.flar.view.FlarBasicView;
	import com.fellong.flash.flar.object.ext.FlarHole;
	import com.fellong.flash.flar.detector.FlarDetector;

	public class FlarHoleDemo extends FlarBasicView {
		
		public function FlarHoleDemo() {
			super(true,true);
			FlarDetector._force_smooth = true;

			// initialize FlarObject
			var hole:FlarHole = new FlarHole();
			hole.detector.loadCode( 'Data/cube16_100_up.pat',16,100 );
			this.scene.addChild( hole );

			this.scaleX = this.scaleY = 2;
			startRendering();			
		}		

	}
}